package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
*
*
* @author quan
* @date 2021-11-22 15:24
*/
 

@Data
@TableName(value = "t_message_account")
@Accessors(chain = true)
public class TMessageAccount {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 消息推送账号
     */
    @TableField(value = "account")
    private String account;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 1系统 2其他 3 广场 4 交易评价
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 0禁用
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 总推送次数
     */
    @TableField(value = "push_count")
    private Integer pushCount;

    /**
     * 头像
     */
    @TableField(value = "img_url")
    private String imgUrl;

    /**
     * im后台管理员账户号
     */
    @TableField(value = "admin_account")
    private String adminAccount;

    @TableField(value = "add_time")
    private LocalDateTime addTime;
}